////////////////////////////////////////
// stringUtil.h
/* Name: Stephen Durfey
 * Class: cs335
 * Prof: Dr. Michael Poor
 * Due Date: October 17, 2008
 ****************************************/

#ifndef _STRING_UTIL_H
#define _STRING_UTIL_H

#include <iostream>
#include <fstream>
#include <sstream>
#include <iomanip>
#include <vector>
using namespace std;

////////////////////////////////////////
// 'readMultiWord' reads a multiword string
//     terminated by 'sep' from 'infile' into 's'
// Example: if 'infile' contains "Los Angeles # California"
//     then "Los Angeles" is stored in 's' and
//     position of 'infile' is now at "California"

bool readMultiWord(string & s, istream & infile,
    const string & sep = "#");

float stringToFloat(const string &s);

void displaySelected(const vector<string> &vectString, vector<int> &vectInt);


#endif

